package com.huang.service.impl;

import com.huang.enums.CommonCodeEnum;
import com.huang.resp.CommonResult;
import com.huang.service.UserService;
import org.springframework.stereotype.Component;

/**
 * 熔断之后的提示
 *
 * @author han
 * @since 2022-01-07 16:55:04
 */
@Component
public class UserServiceImpl implements UserService {
    @Override
    public CommonResult getToken(Integer type) {
        return CommonResult.error(CommonCodeEnum.DEGRADE_LIMIT_ERROR);
    }

    @Override
    public CommonResult info() {
        return CommonResult.error(CommonCodeEnum.DEGRADE_LIMIT_ERROR);
    }
}
